// let server = "http://dlm.mindmedia.cn:8280";        //开发环境
// const server = "http://tst.mindmedia.cn";        //测试环境
// const fileUrl = "http://tst-ftp.mindmedia.cn";  //测试环境ftp

const server = "http://m2c.mindmedia.cn";        //生产环境
const fileUrl = "http://m2c-ftp.mindmedia.cn";  //生产环境ftp

export const interfaceUrls = {
    personInfo: server + '/dlm/a/people/detail.do',									//个人信息
    repertoryList: server + '/dlm/a/stockInfo/list.do',                             //库存列表
    dealerDeliver: server + '/dlm/a/companyRelationInfo/issuelist.do',              //发货渠道查询(根据产品)

    dealerReceive: server + '/dlm/a/companyRelationInfo/receivelist.do',            //收货渠道查询(根据产品)
    dealerAdd: server + '/dlm/a/company/save.do',									//新增经销商(发货渠道)
    infoSearch: server + '/dlm/a/company/queryexists.do',							//根据手机号查询经销商信息
    dealerCompile: server + '/dlm/a/company/save.do',								//编辑经销商发货渠道
    productLists: server + '/dlm/a/productInfo/list.do',                             //获取当前经销商的产品列表

    login: server + '/bsm/loginForm.do',
    getLocalId: server + '/bsm/appLocalId.do',                  //获取手机唯一标识
    logout: server + '/bsm/a/logout.do',
    findPasswordCode: server + '/dlm/verificationCode/findPasswordCode.do',         //获取找回密码的验证码（无需登录）
    findPassword: server + '/dlm/people/findPassword.do',      //找回密码
    detail: server + '/dlm/a/people/detail.do',         //获取个人资料
    edit: server + '/dlm/a/people/edit.do',       //修改个人资料

    getArea: server + '/bsm/a/basedata/sysArea/getAreaJsonByLevel.do',

    editPasswordCode: server + '/dlm/a/verificationCode/editPasswordCode.do',       //获取修改密码的验证码（需要登录）
    editPassword: server + '/dlm/a/people/editPassword.do',     //修改密码

    outList: server + '/dlm/a/outInfo/outList.do',                 //出库单_列表查询
    receivedList: server + '/dlm/a/outInfo/receivedList.do',        //收货记录_列表查询
    add: server + '/dlm/a/outInfo/add.do',  //新建出库单
    revoke: server + '/dlm/a/outInfo/revoke.do',                   //出库单_撤销
    delscandetails: server + '/dlm/a/outInfo/delscandetails.do',    //出库单_删除一箱扫码
    delscan: server + '/dlm/a/outInfo/delscan.do',                  //出库单_确认删除
    outerDetail: server + '/dlm/a/outInfo/details.do',             //获取出库单详情
    scan: server + '/dlm/a/outInfo/scan.do',                        //出库单_出库扫码
    complete: server + '/dlm/a/outInfo/complete.do',               //出库单_完成出库
    dealerByProductId: server + '/dlm/a/companyRelationInfo/dealerByProductId.do',     //出库单_根据产品获取出货经销商列表(出库)
    samplingscan: server + '/dlm/a/outInfo/samplingscan.do',        //收货记录_抽检扫码

    productList: server + '/dlm/a/stockInfo/productList.do',//获取当前经销商库存大于0的产品列表

    childList: server + '/dlm/a/people/list.do',        //子账户列表
    deleteChildAccount: server + '/dlm/a/people/deleteChildAccount.do',        //删除子账号
    addChildAccount: server + '/dlm/a/people/addChildAccount.do',    //添加子账号
    editChildAccountName: server + '/dlm/a/people/editChildAccountName.do',    //子账号修改姓名
    childCount: server + '/dlm/a/people/childCount.do',                         //还可以添加子账号的数量

    issuelist: server + '/dlm/a/companyRelationInfo/issuelist.do',          //发货渠道查询(根据产品)
    receivelist: server + '/dlm/a/companyRelationInfo/receivelist.do',      //收货渠道查询(根据产品)

    imgUrl: fileUrl + '/upload',
};
